/* 全局样式 */
:root {
  --primary-color: #0066ff;
  --secondary-color: #fff;
  --text-color: #010101;
  --border-color: #eee;
  --box-shadow: rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  background-image: url('./image/Snipaste_2025-02-28_22-29-35.png');
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
}

/* 表单容器 */
.form-box {
  max-width: 1100px;
  height: 460px;
  background: var(--secondary-color);
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--box-shadow);
  color: var(--text-color);
  display: flex;
  overflow: hidden;
}

/* 图片容器 */
.form-box-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* 表单内容容器 */
.form-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

/* 标题样式 */
.title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 16px;
}

/* 表单样式 */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input {
  width: 100%;
  height: 40px;
  border: none;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  padding: 8px 15px;
  outline: none;
  transition: var(--transition);
  margin-bottom: 16px;
  /* 增加间距 */
}

.input:last-child {
  margin-bottom: 0;
  /* 最后一个输入框不加间距 */
}

/* 按钮样式 */
button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

button:hover {
  background-color: #005ce6;
}

/* 单选按钮组 */
.radio-inputs {
  display: flex;
  gap: 8px;
  border-radius: 8px;
  background: #eee;
  padding: 4px;
}

.radio-inputs .radio {
  flex: 1;
  text-align: center;
}

.radio-inputs .radio input {
  display: none;
}

.radio-inputs .radio .name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  background: transparent;
  color: rgba(51, 65, 85, 1);
  cursor: pointer;
  transition: var(--transition);
}

.radio-inputs .radio input:checked+.name {
  background: var(--secondary-color);
  font-weight: 600;
  box-shadow: 0 2px 6px var(--box-shadow);
}

/* 表单底部样式 */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}